//
//  DFSingers.m
//  doubanFun
//
//  Created by bing on 16/3/25.
//  Copyright © 2016年 bing. All rights reserved.
//

#import "DFSingers.h"

@implementation DFSingers

- (instancetype)initWithDictionary:(NSDictionary *)dictionary {
    if (self = [super init]) {
        _singersID       = [dictionary stringForKey:@"id"];
        _is_site_artist  = [dictionary numberForKey:@"is_site_artist"];
        _name            = [dictionary stringForKey:@"name"];
        _related_site_id = [dictionary numberForKey:@"related_site_id"];
    }
    return self;
}

+ (instancetype)initWithDictionary:(NSDictionary *)dictionary {
    return [[self alloc] initWithDictionary:dictionary];
}

@end
